projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eccb469
)
xend: XenAPI does not support pvSCSI multipath
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 5 Mar 2010 14:42:25 +0000
(14:42 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 5 Mar 2010 14:42:25 +0000
(14:42 +0000)
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xend/XendNode.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendNode.py
b/tools/python/xen/xend/XendNode.py
index 6541b63f54239a3d9f679c3c0151daf1d45f2c5a..fa3cba19448b271e82686caa39ac1fca00b3e362 100644
(file)
--- a/
tools/python/xen/xend/XendNode.py
+++ b/
tools/python/xen/xend/XendNode.py
@@
-333,7
+333,11
@@
class XendNode:
pscsi_uuid = uuid.createString()
saved_pscsi_table[scsi_id] = pscsi_uuid
else:
- saved_HBA_uuid = saved_pscsis[pscsi_uuid].get('HBA', None)
+ try:
+ saved_HBA_uuid = saved_pscsis[pscsi_uuid].get('HBA', None)
+ except KeyError:
+ log.warn("Multi-path SCSI devices are not supported for XenAPI")
+ return
physical_host = int(pscsi_record['physical_HCTL'].split(':')[0])
if pscsi_HBA_table.has_key(physical_host):